package com.muz.service;

import com.muz.service.AppConfig;
import com.muz.spring.muzApplicationContext;

/**
 * @author MUZ
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException {
        muzApplicationContext muzApplicationContext = new muzApplicationContext(AppConfig.class);

        System.out.println(muzApplicationContext.getBean("UserService"));
        System.out.println(muzApplicationContext.getBean("UserService"));
        System.out.println(muzApplicationContext.getBean("UserService"));
        System.out.println(muzApplicationContext.getBean("UserService"));

//        UserService userService = (UserService) muzApplicationContext.getBean("UserService");
    }
}
